<?

/**
*Form Builder & Admin Generator

*@author marcio <opi14@op.pl>, <polishvodka7@gmail.com>
*@copyright Copyright (c) 2011, marcio
*@version 1.6.5
*/

class Db 
{
	public static function Factory($db) 
    {
		switch($db) 
		{
	
			case 'MySql':    
						require_once('libraries/drivers/Db/DbMySql.php');
						return new Volta_Db_MySql();
						break;
	  
			case 'MsSql':
						require_once('libraries/drivers/Db/MsSql.php');
						return new Volta_Db_MsSql();
						break;
	  
		} 
	} 
}

?>